package com.vx.service;

import java.util.List;
import java.util.Map;

import com.vx.vo.RoleVO;
import com.vx.vo.UserVO;


public interface IUserService {

	UserVO findUserByName(String userCode);

	/**
	 * 获取userCode的一个领导
	 * @param userCode
	 * @return
	 */
	String getLeader(String userCode);

	List<Map<String, Object>> getRoleUser(String roleCode);

	RoleVO getRole(String userCode);

	RoleVO getRole(int roleId);
}
